home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / ir.doc < prev    next >
Text File  |  1995-03-31  |  3KB  |  49 lines

  1. (Comp.sys.handhelds) 
  2. Item: 3945 by _jwtrav at hpcvbbs.cv.hp.com 
  3. Author: [John Wettroth] 
  4.   Subj: RS232 vs. IR Battery Life 
  5.   Date: Sat Sep 07 1991 
  6.  
  7.      I have recently done some calculations of how much power the IR 
  8. Transceiver draws versus the RS-232 Transceiver in the 48.  I was surprised to 
  9. find that the IR draws about 1/2 the power of the RS-232 in most cases and much 
  10. much less when the traffic is light!  My interest is mainly in medium speed 
  11. data logging links.  Consider the following scenario: The HP-48 sends a command 
  12. to a "voltmeter" (or some other instrument) 10 times per second to request the 
  13. present voltage.  Let's assume this command is 2 bytes long and that the 
  14. "voltmeter" responds with a 4 byte response. 
  15.   
  16.      For the RS-232 case (any baud rate)- the power is essentially independent 
  17. of whether the transmitter is sending or not.  It is strictly dominated by the 
  18. IO being "open" (on).  A standard RS-232 load is 3000 ohms, so that the current 
  19. is 5v/3000 = 1.76 ma average.  It is actually slightly more than this because 
  20. the RS-232 level shifter draws some nominal ammount of current. 
  21.   
  22.      The IR case is a bit more complex because all the current is drawn in 
  23. brief pulses.  There is virtually no quiescent current in the transmitter or 
  24. reciever- the power drawn depends solely on comm activity.  The transmitter 
  25. sends narrow pulses (52 us) for 0's and nothing for 1's.  The peak currents 
  26. with fresh batteries are 75 ma, however the average currents are very low.  In 
  27. order to send the worst case command (2 bytes of all zero's) 18 pulses of 52 us 
  28. of 75 ma would be sent or .070 ma-sec of charge.  The reciever would draw about 
  29. .5 ma 36 times (4 bytes of 9-52 us pulses) to recieve the worst message for a 
  30. charge of .00094 ma-sec.  The total is .0701 ma-sec per transaction, with 10 
  31. transactions per second this would be .7 ma average, less than half of that for 
  32. the RS-232 case. 
  33.   
  34.      Note that if only one transaction per second were required, the average 
  35. current for the IR would be .07 ma while the RS-232 case would remain the same. 
  36. This is significant.  The "break even point" where the two circuits draw 
  37. appoximately the same current is about 45 characters/second being transmitted. 
  38. The RS-232 and IR recievers draw about the same ammount of power in all cases. 
  39.   
  40.      **** Moral - if you are are doing interfacing at modest rates; (almost all 
  41. that is possible with an HP 48) you are better off with IR.  It also has the 
  42. advantage of isolating the HP 48 from the interface.  This rather surprising 
  43. result is brought to you by Travtech, manufacturers of (what else) an IR Link 
  44. Data Acquisition and Control module called the ADCM-48. 
  45.   
  46. John Wettroth 
  47. TRAVTECH, San Diego 
  48. (619)-566-7861 
  49.